package com.bluefish.bltuan.service;

import com.bluefish.bltuan.module.mail.EmailPurpose;
import com.bluefish.bltuan.module.mail.EmailTemplate;

public interface EmailTemplateService extends BasicService<EmailTemplate, Integer>{

	EmailTemplate findByPurpose(EmailPurpose purpose);
	
	EmailTemplate getRegisterTemplate();
	
	EmailTemplate getFindPasswordTemplate();
	
	EmailTemplate getSubscriberTemplate();
	
	EmailTemplate getSubscriberNotYetTemplate();

	void saveOrUpdate(EmailTemplate template);
}
